package com.buka.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.buka.domain.ResponseResult;
import com.buka.pojo.Comment;

/**
 * CommentService
 */
public interface CommentService extends IService<Comment> {
    /**
     * 评论列表
     */
    ResponseResult commentList(Long articleId, Integer pageNum, Integer pageSize);

    /**
     * 发布评论
     */
    ResponseResult addComment(Comment comment);
}
